<template>
	<view class="container pt10">
		<view class="bgWhite  plr15 ptb15 ">
			<view class="newtitle">
				新闻名称新闻名称新闻名称新闻名称新闻名称新闻名称新闻名称
			</view>
			<view class="justify-between ft12 " style="color: rgba(0, 0, 0, 0.4);margin: 48rpx 0 24rpx 0;">
				<text>资讯来源：网络</text>
				<text>2025-01-01</text>
			</view>
					<uv-parse :content="dataInfo.content"></uv-parse>

		</view>
		<!-- <view class="constellation2">
			<view class="constellation-part" v-for="i in 39" :style="' transform: rotate('+i*9.2+'deg) skewY(-1deg);'">
			<image src="../../static/images/tlp.jpg" style="width: 150rpx;" mode="widthFix"></image>
			</view>
		</view> -->
		<view class="" style="height: 112rpx;">
			
		</view>
		<view class="page-footer ">
			<view class="align-center">
				<image src="../../static/images/nolike.png" mode=""></image>
				989
			</view>
			<view class="align-center">
				<image src="/static/images/collect.png" mode=""></image>
				收藏
			</view>
		</view>
	
	</view>
</template>

<script>
	

	let app = getApp();
	export default {
		components: {

		},
		data() {
			return {
				act: 0,
				dataInfo: {},
				certificateNum: '',
				value: "",
				data:[]
			}
		},
		onLoad(opt) {
			
			if(opt.id){
				this.$api.noticeInfo({id:opt.id}).then(res=>{
					console.log(res)
					this.dataInfo=res.data
				})
			}
		},
		mounted() {
			
			
			 
			// 使用函数生成一个正弦波形
		
		
		},

		methods: {
						
					
			}





	}
</script>
<style scoped lang="scss">
	.container {
		
		// background: linear-gradient(180deg, #4375f2, #fff);
		
	}
	.newtitle{
		font-size: 40rpx;
		line-height: 60rpx;
		text-align: center;
	}
	.page-footer {
		position: fixed;
		bottom: 0;
		z-index: 300;
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: 100%;
		height: calc(110rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
		height: calc(110rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
		box-sizing: border-box;
		
		border-top: 1px solid rgba(231, 231, 231, 1);
		// box-shadow: 0px 0px 17rpx 1rpx rgba(206, 206, 206, 0.32);
		// box-shadow: 3px 0px 38px 0px #000000;
		padding-bottom: constant(safe-area-inset-bottom); ///兼容 IOS<11.2/
		padding-bottom: env(safe-area-inset-bottom); ///兼容 IOS>11.2/
	        // background: rgba(0, 0, 0, 0.2);
	        background: #fff;
			image{
				width: 64rpx;
				height: 64rpx;
			}
			}
</style>